<?php
/**
 * Created by JetBrains PhpStorm.
 * User: 蒋文书
 * Date: 14-12-27
 * Time: 下午8:50
 * To change this template use File | Settings | File Templates.
 */

namespace Admin\Controller;
use Think\Controller;
class IndexController extends CommonController {
    public function index(){
        $Form = M("Channel");
        $list = $Form->order('id desc')->limit(6)->select();
        $this->assign('list', $list);
        $this->meta_title = '用户列表';
        $this->display();
    }
}